﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RN.ERP.DTO;
using System.Data.SqlClient;
using RN.ERP.DAL;

namespace RN.ERP.DAL.DAL
{
    public class T_Sys_UsersDAL
    {
        public static string GetNameByUserGuid(string UserGuid)
        {
            string sql = "select name from T_Sys_Users where UserGuid=@UserGuid";
            SqlParameter param = new SqlParameter("@UserGuid",UserGuid);
            return SqlH.ExecuteScalar(sql,param).ToString();
        }
    }
}
